# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=retroarch-joypad-autoconfig
# Needs to be upgraded in sync with the retroarch aport
pkgver=0_git20230319
pkgrel=0
_commit="f2123bbeeb7bb139aa34ca59490988de686f9c0b"
arch="noarch"
url="https://github.com/libretro/retroarch-joypad-autoconfig"
pkgdesc="RetroArch joypad autoconfig files"
license="MIT"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/retroarch-joypad-autoconfig/archive/$_commit.tar.gz"
subpackages="$pkgname-doc"
builddir="$srcdir/$pkgname-$_commit"
options="!check" # No code to test

package() {
	DESTDIR="$pkgdir" make install
}

sha512sums="
f871c9cefd969c888c0239c31f2d2b876ef7a197a2e2cb38c3b74a6fe3200ca30b624fba16616dfe343ff0cb85a0332545321e4d613269522c23656280a3e60e  retroarch-joypad-autoconfig-f2123bbeeb7bb139aa34ca59490988de686f9c0b.tar.gz
"
